home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: TSMCollation.h.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emith.dll: 2.33
- */
-
- #ifndef SOM_TSMCollation_h
- #define SOM_TSMCollation_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default.
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef TSMCollation
- #define TSMCollation SOMObject
- #endif
- #include <TSMObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef SOMClass
- #define SOMClass SOMObject
- #endif /* SOMClass */
- #ifndef SOMObject
- #define SOMObject SOMObject
- #endif /* SOMObject */
- #ifndef HIWindow
- #define HIWindow SOMObject
- #endif /* HIWindow */
- #ifndef HIEmbeddingPanel
- #define HIEmbeddingPanel SOMObject
- #endif /* HIEmbeddingPanel */
-
- /*
- * End of user-defined types.
- */
-
- #define TSMCollation_MajorVersion 1
- #define TSMCollation_MinorVersion 1
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define TSMCollationClassData d
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
-
- #ifdef OLDIBMSOMAPISUPPORT
- #define TSMCollation_classObj somNewClassReference(TSMCollation)
- #define _TSMCollation TSMCollation_classObj
- #define TSMCollationCClassData TSMCollationClassData
- #define TSMCollationNewClass(major,minor) somNewVersionedClassReference(TSMCollation,major,minor)
- #endif
-
- /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
- #define TSMCollationMetaClass SOMClass
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=power
- #endif
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct TSMCollationClassDataStructure {
- #ifdef OLDIBMSOMAPISUPPORT
- SOMAny *classObject; /* always zero, use somNewClassReference instead */
- #else
- long zero;
- #endif
- somStaticClassInfo *sci;
- somDToken instanceDataToken;
- long reserved [3];
- somMToken DoCollationProcessText;
- } SOMDLINK TSMCollationClassData;
-
- #if PRAGMA_ALIGN_SUPPORTED
- # pragma options align=reset
- #endif
-
- #if !defined(TSMCollation_Class_Source) && !defined(SOM_Module_tsmcollation_Source)
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import list TSMCollationClassData
- #endif
- #endif
-
-
- /*
- * New macro for TSMCollation
- */
- #define TSMCollationNew() somNewObject(TSMCollation)
-
- /*
- * Override method: InitializeService
- */
- #define TSMCollation_InitializeService(somSelf,ev) \
- TSMObject_InitializeService(somSelf,ev)
-
- /*
- * Override method: TerminateService
- */
- #define TSMCollation_TerminateService(somSelf,ev) \
- TSMObject_TerminateService(somSelf,ev)
-
- /*
- * Override method: ServiceChanged
- */
- #define TSMCollation_ServiceChanged(somSelf,ev) \
- TSMObject_ServiceChanged(somSelf,ev)
-
- /*
- * Override method: somInit
- */
- #define TSMCollation_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * New Method: DoCollationProcessText
- */
- typedef OSStatus (SOMLINK *somTD_TSMCollation_DoCollationProcessText)(TSMCollation *somSelf, Environment *ev,
- CollationRef collationRef,
- CollateOptions options,
- ConstTextObject text,
- TextObjectIndex startIndex,
- TextObjectIndex endIndex,
- TextObject result);
- #define somMD_TSMCollation_DoCollationProcessText "::TSMCollation::DoCollationProcessText"
- #define TSMCollation_DoCollationProcessText(somSelf,ev,collationRef,options,text,startIndex,endIndex,result) \
- (SOM_Resolve(somSelf, TSMCollation, DoCollationProcessText) \
- (somSelf,ev,collationRef,options,text,startIndex,endIndex,result))
- #ifndef SOMGD_DoCollationProcessText
- #if defined _DoCollationProcessText || defined __DoCollationProcessText
- #undef _DoCollationProcessText
- #undef __DoCollationProcessText
- #define SOMGD_DoCollationProcessText 1
- #else
- #define _DoCollationProcessText TSMCollation_DoCollationProcessText
- #endif /* _DoCollationProcessText */
- #endif /* SOMGD_DoCollationProcessText */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define TSMCollation__get_fTSMContext TSMObject__get_fTSMContext
- #define TSMCollation__set_fTSMContext TSMObject__set_fTSMContext
- #define TSMCollation__get_fStatus TSMObject__get_fStatus
- #define TSMCollation__set_fStatus TSMObject__set_fStatus
- #define TSMCollation__get_fServiceContext TSMObject__get_fServiceContext
- #define TSMCollation__set_fServiceContext TSMObject__set_fServiceContext
- #define TSMCollation_EditInlineHole TSMObject_EditInlineHole
- #define TSMCollation_FeatureChanged TSMObject_FeatureChanged
- #define TSMCollation_ActivateService TSMObject_ActivateService
- #define TSMCollation_DeactivateService TSMObject_DeactivateService
- #define TSMCollation_ServiceMouseEvent TSMObject_ServiceMouseEvent
- #define TSMCollation_ServiceKeyEvent TSMObject_ServiceKeyEvent
- #define TSMCollation_ServiceWindowEvent TSMObject_ServiceWindowEvent
- #define TSMCollation_HideServiceWindows TSMObject_HideServiceWindows
- #define TSMCollation_DoSetCursor TSMObject_DoSetCursor
- #define TSMCollation_ReleaseInlineHoles TSMObject_ReleaseInlineHoles
- #define TSMCollation_TerminateInput TSMObject_TerminateInput
- #define TSMCollation_somUninit SOMObject_somUninit
- #define TSMCollation_somDuplicateReference SOMObject_somDuplicateReference
- #define TSMCollation_somCompareReference SOMObject_somCompareReference
- #define TSMCollation_somRelease SOMObject_somRelease
- #define TSMCollation_somFree SOMObject_somFree
- #define TSMCollation_somCanDelete SOMObject_somCanDelete
- #define TSMCollation_somGetClass SOMObject_somGetClass
- #define TSMCollation_somGetClassName SOMObject_somGetClassName
- #define TSMCollation_somGetSize SOMObject_somGetSize
- #define TSMCollation_somIsA SOMObject_somIsA
- #define TSMCollation_somRespondsTo SOMObject_somRespondsTo
- #define TSMCollation_somIsInstanceOf SOMObject_somIsInstanceOf
- #define TSMCollation_somDispatch SOMObject_somDispatch
- #define TSMCollation_somClassDispatch SOMObject_somClassDispatch
- #define TSMCollation_somCastObj SOMObject_somCastObj
- #define TSMCollation_somResetObj SOMObject_somResetObj
- #define TSMCollation_somPrintSelf SOMObject_somPrintSelf
- #define TSMCollation_somDumpSelf SOMObject_somDumpSelf
- #define TSMCollation_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_TSMCollation_h */
-